#include <stdio.h>
int main()
{
	int n = 0;
	
	int t = 0;
	do
	{
		int m = 1;
		n++;
		do
		{
		t = n * m;
		printf("%d*%d=%d ", m, n, t);
		if (m == n)
			printf("\n");
		
		m++;
		} while (m <= n&& m <= 9);


	} while (n < 9);
	return 0;
}